package com.feng.chat.service;

import com.feng.chat.dto.Result;

import javax.servlet.http.HttpSession;

public interface CommonService {

    //发送邮箱验证码
    public Result emailCode(String email, HttpSession session);

    //发送手机验证码
    public Result smsCode(String channel, String mobile, HttpSession session);
}
